package com.fzkjjt.easyexceldemo.api.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: easyexcel-demo
 * @description:
 * @author: FangZhen
 * @create: 2020-04-17 14:20
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("导入")
public class DemoData2 extends BaseRowModel {


    @ExcelProperty(index = 0)
    @ApiModelProperty("用户名")
    private String username;

    @ExcelProperty(index = 1)
    @ApiModelProperty("密码")
    private String password;
}
